﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Acoris.Foundation
{
    /// <summary>
    /// 表示边距信息
    /// </summary>
    public struct Thickness
    {
        /// <summary>
        /// 初始化边距
        /// </summary>
        /// <param name="left">左边距</param>
        /// <param name="top">上边距</param>
        /// <param name="right">右边距</param>
        /// <param name="bottom">下边距</param>
        public Thickness(float left,float top,float right,float bottom)
        {
            Left = left;
            Top = top;
            Right = right;
            Bottom = bottom;
        }

        /// <summary>
        /// 左边距
        /// </summary>
        public float Left { get; set; }

        /// <summary>
        /// 右边距
        /// </summary>
        public float Right { get; set; }

        /// <summary>
        /// 上边距
        /// </summary>
        public float Top { get; set; }

        /// <summary>
        /// 下边距
        /// </summary>
        public float Bottom { get; set; }
    }
}
